Pronamic\WordPress\Pay\Extensions\WooCommerce\Extension C

Total Complexity 112
Dependencies 17
Dependents 3
Total lines 1,125
Lines of code 641
Logical lines of code 285
Comment lines 290
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
status_update()
B
41 17 50
maybe_update_refunded_payment()
A
39 13 65
checkout_fields()
A
46 7 40
get_gateways()
A
44 6 46
redirect_url()
S
55 7 19
select_options()
S
57 6 17
blocks_payment_method_type_registration()
S
56 6 17
maybe_add_failure_reason_notice()
S
52 5 26
checkout_update_order_meta()
S
55 5 20
payment_gateways()
S
55 5 20
input_element()
S
48 3 36
maybe_add_pronamic_pay_meta_box_to_wc_order()
S
55 4 19
woocommerce_thankyou_order_received_text()
S
56 4 19
admin_init()
S
45 1 56
source_text()
S
53 3 25
trigger_payment_fulfilled_action()
S
63 3 11
register_settings()
S
52 1 34
setup()
S
57 2 15
input_checkout_fields_select()
S
58 2 15
reservation_cancelled_note()
S
59 2 15
source_url()
S
64 3 10
settings_section()
S
63 2 12
init()
S
60 2 12
input_checkbox()
S
54 1 24
__construct()
S
59 1 15
source_description()
S
79 1 3